package com.pengshun.modules.api.transport.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author luoligang
 * @create 2021/6/16
 */
@Data
public class TakeCarriageDto {
    @ApiModelProperty(value = "运单id")
    private Long  transportTakeCarriageId;
    private Long  freightSettlementId;
    @ApiModelProperty(value = "运单号")
    private String transportTakeNo;
    @ApiModelProperty(value = "0取消/1已接单、2确认发货、3确认卸货、4用户确定到货")
    private Integer status;
    private Integer userType;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "车牌号")
    private String carOwnerNum;
    @ApiModelProperty(value = "电话")
    private String phone;
    @ApiModelProperty(value = "数量")
    private BigDecimal number;
    @ApiModelProperty(value = "运价")
    private BigDecimal freight;
    @ApiModelProperty(value = "接单时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date takeTime;
    @ApiModelProperty(value = "装货时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date loadTime;
    @ApiModelProperty(value = "卸货时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date unloadTime;
    @ApiModelProperty(value = "结算时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date settlementTime;
    @ApiModelProperty(value = "异常时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date expTime;
    @ApiModelProperty(value = "处理时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date disposeTime;
    @ApiModelProperty(value = "取消时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date cancleTime;
}
